import { Injectable, Injector } from '@angular/core';
import { Observable } from 'rxjs';
import { environment } from '../../../../../environments/environment';
import { RyBaseServiceService } from '../../../../common/RyBaseService.service';

@Injectable({
    providedIn: 'root'
})
export class DeptService extends RyBaseServiceService{
    base = '/system/dept';
    constructor(private _injector: Injector,) {
        super(_injector);
        super.setBase(this.base);
    }


    /**
     * 获取
     */
    getExclude(id: string): Observable<any> {
        const otpions = {
        };
        return this._http.get<any>(environment.baseUrl + this.base +'/list/exclude/'+ id, otpions);
    }
}
